﻿using DevExpress.XtraEditors.Controls;

namespace EyFramework.Library
{
    public class MessboxClass : Localizer
    {
        public override string GetLocalizedString(StringId id)
        {
            switch (id)
            {
                case StringId.XtraMessageBoxCancelButtonText:
                    return "取消";

                case StringId.XtraMessageBoxOkButtonText:
                    return "确定";

                case StringId.XtraMessageBoxYesButtonText:
                    return "是";

                case StringId.XtraMessageBoxNoButtonText:
                    return "否";

                default:
                    return base.GetLocalizedString(id);
            }
        }
    }
}